/**
 * @author: yyq
 * @date: 2025年3月18日 11:01:32
 * @description: 
 */
package com.sheepone.monitor.audit.autoconfigure;

/**
 * @author: yyq
 * @date: 2025年3月18日 11:01:32
 * @description:
 */
public class AuditClientBootConfig {
    /**
     * 是否自动提交
     * 生效情形：
     * 1、autoCommit = true
     * 2、SpringBoot的启动类标注了注解：@EnableAspectJAutoProxy
     * 3、使用 @AuditContext 注解
     */
    private Boolean autoCommit = true;
    private Boolean sceneEnable = false;
    private String defaultScene = "";
    private String service = "";
    private String statusOnException = "";
    private String statusOnSuccess = "";

    public Boolean getAutoCommit() {
        return autoCommit;
    }

    public void setAutoCommit(Boolean autoCommit) {
        this.autoCommit = autoCommit;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getStatusOnException() {
        return statusOnException;
    }

    public void setStatusOnException(String statusOnException) {
        this.statusOnException = statusOnException;
    }

    public String getStatusOnSuccess() {
        return statusOnSuccess;
    }

    public void setStatusOnSuccess(String statusOnSuccess) {
        this.statusOnSuccess = statusOnSuccess;
    }

    public Boolean getSceneEnable() {
        return sceneEnable;
    }

    public void setSceneEnable(Boolean sceneEnable) {
        this.sceneEnable = sceneEnable;
    }

    public String getDefaultScene() {
        return defaultScene;
    }

    public void setDefaultScene(String defaultScene) {
        this.defaultScene = defaultScene;
    }

}
